/**
 * 
 */
package org.cuatrovientos.buclesejercicio5;

import java.util.Scanner;

/**
 * @author mikel_nuin
 *
 */
public class BuclesEjercicio5 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int number = 0;
		Scanner reader = new Scanner(System.in);
		String line ="";
		
		System.out.println("Enter a number: ");
		line = reader.nextLine();
		number = Integer.parseInt(line);
		
		for (int i=0;i<number;i++) {
			for (int j=0;j< number; j++) {
				
				System.out.print("*");
				
			}
			System.out.print("\n");
		}
	}

}
